package com.ziyueyuwen.xiniao.enums;

/**
 * @author jun 2019/2/25
 */
public enum OrderStatusEnum {

    /**
     * 交易中
     */
    WAITING("WAITING", "交易中"),

    /**
     * 交易成功
     */
    SUCCESS("SUCCESS", "交易成功"),

    /**
     * 交易失败
     */
    FAILURE("FAILURE", "交易失败"),

    /**
     * 退款
     */
    REFUND("REFUND", "退款");

    private final String code;
    private final String des;

    OrderStatusEnum(String code, String des) {
        this.code = code;
        this.des = des;
    }

    public String getCode() {
        return code;
    }

    public String getDes() {
        return des;
    }
}
